﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Editor {
	[Serializable]
	[XmlInclude(typeof(paragraph))]
	[XmlInclude(typeof(paragraph[]))]
	public class document {
		[XmlAttribute]
		public string type { get; set; }
		[XmlAttribute]
		public string create { get; set; }
		[XmlAttribute]
		public string edit { get; set; }
		public string title { get; set; }
		public object content;
	}

	[Serializable]
	[XmlInclude(typeof(paragraph))]
	[XmlInclude(typeof(paragraph[]))]
	public struct paragraph {
		[XmlAttribute]
		public string title { get; set; }
		public object content { get; set; }
	}
}
